-
Home
-
ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF
-
6.0.4 (latest)
-
Code
-
Classes
- Queue
Total Complexity |
115 |
Dependencies |
7 |
Dependents |
2 |
Total lines |
743 |
Lines of code |
519 |
Logical lines of code |
300 |
Comment lines |
65 |
Methods |
35 |
Properties |
2 |
Methods 35
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
prepareItems() |
B |
31 |
20 |
115 |
imageModelToQueue() |
B |
37 |
18 |
74 |
run() |
A |
42 |
13 |
56 |
isDuplicateActive() |
A |
48 |
10 |
37 |
getQStatus() |
S |
58 |
5 |
18 |
getStats() |
S |
49 |
4 |
31 |
addSingleItem() |
S |
52 |
3 |
25 |
setCustomBulk() |
S |
64 |
4 |
9 |
getStatus() |
S |
63 |
3 |
12 |
countQueue() |
S |
56 |
2 |
18 |
isItemInQueue() |
S |
64 |
3 |
9 |
getCustomDataItem() |
S |
67 |
3 |
8 |
queueToMediaItem() |
S |
61 |
2 |
12 |
itemFailed() |
S |
66 |
2 |
9 |
timestampURLS() |
S |
66 |
2 |
8 |
isCustomOperation() |
S |
70 |
2 |
7 |
updateItem() |
S |
76 |
1 |
4 |
itemDone() |
S |
76 |
1 |
4 |
uninstall() |
S |
82 |
1 |
3 |
activatePlugin() |
S |
82 |
1 |
3 |
getShortQ() |
S |
82 |
1 |
3 |
_debug_imageModelToQueue() |
S |
78 |
1 |
3 |
prepare() |
S |
100 |
1 |
0 |
mediaItemToQueue() |
S |
66 |
1 |
9 |
deQueue() |
S |
73 |
1 |
5 |
prepareBulkRestore() |
S |
100 |
1 |
0 |
getQueueName() |
S |
82 |
1 |
3 |
dropItem() |
S |
74 |
1 |
5 |
setOptions() |
S |
80 |
1 |
3 |
resetQueue() |
S |
82 |
1 |
3 |
cleanQueue() |
S |
82 |
1 |
3 |
startBulk() |
S |
75 |
1 |
4 |
createNewBulk() |
S |
67 |
1 |
8 |
getType() |
S |
100 |
1 |
0 |
createCustomData() |
S |
67 |
1 |
8 |